import request from '@/common/request'

export function listInstitution(data) {
    return request({
        url: '/initial/institution/index',
        method: 'get',
        params: data
    })
}

export function allInstitution(data) {
    return request({
        url: '/initial/institution/all',
        method: 'get',
        params: data
    })
}

export function createInstitution(data) {
    return request({
        url: '/initial/institution/create',
        method: 'post',
        data: data
    })
}

export function updateInstitution(data) {
    return request({
        url: '/initial/institution/update',
        method: 'post',
        data: data
    })
}

export function removeInstitution(data) {
    return request({
        url: '/initial/institution/delete',
        method: 'post',
        data: data
    })
}
